← Back to issue list

Snapcraft complains the missing `source` property when the source URL is determined in override-pull scriptlet

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1822727
Type
issue
State
open
Author
~brlin
Labels
Created
2019-04-02 07:08:26.456430+00:00
Updated
2019-04-02 07:08:26.456430+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I've set up an `override-pull` scriptlet for some snaps to automatically parse the upstream release page and download & extract the latest release tarball to SNAPCRAFT_PART_SRC, as the actual source URL is determined in the scriptlet the `source` property isn't really required but Snapcraft currently will still complain: * Failed to load plugin: properties failed to load for main: 'source' is a required property * Failed to pull source: unable to determine source type of 'Parsed automatically at main-pull scriptlet' ('Parsed automatically at main-pull scriptlet' is a dummy value set in snapcraft yaml) Some thoughts: * The checks probably should be deferred to the point where the snapcraft-managed-pull is triggered * `snapcraftctl set-source`?

Evaluation history

No evaluation history available.